Model Based Test Case Prioritization for Testing Component Dependency in CBSD Using UML Sequence Diagram
نویسندگان
چکیده
Software maintenance is an important and costly activity of the software development lifecycle. To ensure proper maintenance the software undergoes regression testing. It is very inefficient to re execute every test case in regression testing for small changes. Hence test case prioritization is a technique to schedule the test case in an order that maximizes some objective function. A variety of objective functions are applicable, one such function involves rate of fault detection a measure of how quickly faults are detected within the testing process. Early fault detection can provide a faster feedback generating a scope for debuggers to carry out their task at an early stage. In this paper we propose a method to prioritize the test cases for testing component dependency in a Component Based Software Development (CBSD) environment using Greedy Approach. An Object Interaction Graph (OIG) is being generated from the UML sequence diagrams for interdependent components. The OIG is traversed to calculate the total number of inter component object interactions and intra component object interactions. Depending upon the number of interactions the objective function is calculated and the test cases are ordered accordingly. This technique is applied to components developed in Java for a software system and found to be very effective in early fault detection as compared to non-prioritize approach. KeywordsRegression Testing, Object Interaction Graph, Test
منابع مشابه
Test Case Generation and Prioritization Based on Uml Behavioral Models
Test case prioritization (TCP) techniques have been proven to be beneficial for improving testing activities. Prioritized test suites are found using different techniques of prioritization. While code coverage based prioritization techniques are found to be used by most scholars, test case prioritization based on UML behavioral models has not been given much attention so far. We propose a novel...
متن کاملPrioritization of Test Cases scenarios derived from UML Diagrams
Test Case Prioritization (TCP) is setting priority to each and every test case from test case suit and executes those test cases in descending order. The proposed generic tool will first generate test cases from UML diagram sequence diagram and prioritize them on basis of following criteria's: prioritization on depending upon depth, prioritization on dependency of number of parameters, pri...
متن کاملEffective Use of Prim’s Algorithm for Model Based Test case Prioritization
This Software testing is “Performing Verification and Validation of the Software Product” for its correctness and accuracy of working. Every time it is not possible to perform each and every test case. Hence it is important to decide test cases prioritization. The aim of Test case prioritization is to prioritize the test case sequences and finding the faults as early as possible to improve prof...
متن کاملTest Case Generation From UML Interaction Overview Diagram and Sequence Diagram
The most important part of the testing attempts is the test case generation. Unified modeling language(UML) is the most generally used to describe design specification and analysis by both academic and industry. UML models offer a lot of information that should not be ignored in testing. Testing of software is a time-consuming activity which requires a great deal of planning and resources. In s...
متن کاملLiterature Review of Model Based Test case Prioritization
Software testing always “Performing Verification and Validation of the Software Product” for its correctness and accuracy of working. Every time it is not possible to perform each and every test case. Hence it is important to decide test case prioritization. The major goal of Test case prioritization is to prioritize the test case sequences and finding the faults as early as possible to improve...
متن کامل